home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / gimp / 2.0 / help / en / gimp-palette-dialog.html < prev    next >
Encoding:
Extensible Markup Language  |  2008-05-03  |  41.0 KB  |  1,028 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.   <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6.     <title>3.5.¬† Palettes Dialog</title>
  7.     <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
  8.     <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
  9.     <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
  10.     <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
  11.     <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
  12.     <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
  13.     <link rel="up" href="gimp-dialogs-content.html" title="3.¬† Image-content Related Dialogs" />
  14.     <link rel="prev" href="gimp-gradient-dialog.html" title="3.4.¬† Gradients Dialog" />
  15.     <link rel="next" href="gimp-font-dialog.html" title="3.6.¬† Fonts Dialog" />
  16.   </head>
  17.   <body>
  18.     <div class="navheader">
  19.       <table width="100%" summary="Navigation header">
  20.         <tr>
  21.           <th colspan="3" align="center">3.5.¬†
  22.     <span lang="en" xml:lang="en">Palettes Dialog</span>
  23.   </th>
  24.         </tr>
  25.         <tr>
  26.           <td width="20%" align="left"><a accesskey="p" href="gimp-gradient-dialog.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  27.           <th width="60%" align="center">3.¬†
  28.     <span lang="en" xml:lang="en">Image-content Related Dialogs</span>
  29.   </th>
  30.           <td width="20%" align="right">¬†<a accesskey="n" href="gimp-font-dialog.html"><img src="../images/next.png" alt="Next" /></a></td>
  31.         </tr>
  32.       </table>
  33.       <hr />
  34.     </div>
  35.     <div class="sect2" lang="en" xml:lang="en">
  36.       <div class="titlepage">
  37.         <div>
  38.           <div>
  39.             <h3 class="title"><a id="gimp-palette-dialog"></a>3.5.¬†
  40.     <span lang="en" xml:lang="en">Palettes Dialog</span>
  41.   </h3>
  42.           </div>
  43.           <div>
  44.             <div class="revhistory">
  45.               <table border="1" width="100%" summary="Revision history">
  46.                 <tr>
  47.                   <th align="left" valign="top" colspan="3">
  48.                     <b>Revision History</b>
  49.                   </th>
  50.                 </tr>
  51.                 <tr>
  52.                   <td align="left">Revision $Revision: 2419 $</td>
  53.                   <td align="left">2007-10-05</td>
  54.                   <td align="left">j.h</td>
  55.                 </tr>
  56.               </table>
  57.             </div>
  58.           </div>
  59.         </div>
  60.       </div>
  61.       <a id="id2666118" class="indexterm"></a>
  62.       <a id="id2666130" class="indexterm"></a>
  63.       <a id="id2666143" class="indexterm"></a>
  64.       <p>
  65.     A <span class="emphasis"><em>palette</em></span> is a set of discrete colors, in no
  66.     particular order.  See the <a class="link" href="gimp-concepts-palettes.html" title="12.¬† Palettes">Palettes</a> section for basic
  67.     information on palettes and how they can be created and used.
  68.   </p>
  69.       <p>
  70.     The Palettes dialog is used to select a palette, by clicking on it in a
  71.     list or grid view. A few dozen more or less randomly chosen palettes are
  72.     supplied with GIMP, and you can easily add new palettes of your own. The
  73.     Palettes dialog also give you access to several operations for creating
  74.     new palettes or manipulating the ones that already exist.
  75.   </p>
  76.       <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
  77.         <table border="0" summary="Note">
  78.           <tr>
  79.             <td rowspan="2" align="center" valign="top" width="25">
  80.               <img alt="[Note]" src="../images/note.png" />
  81.             </td>
  82.             <th align="left">Note</th>
  83.           </tr>
  84.           <tr>
  85.             <td align="left" valign="top">
  86.               <p>
  87.       The Palettes dialog is not the same thing as the
  88.       <a class="link" href="gimp-indexed-palette-dialog.html" title="2.4.¬† Colormap Dialog">Index Palette
  89.       dialog</a>,
  90.       which is used to manipulate the colormaps of indexed images.
  91.     </p>
  92.             </td>
  93.           </tr>
  94.         </table>
  95.       </div>
  96.       <div class="sect3" lang="en" xml:lang="en">
  97.         <div class="titlepage">
  98.           <div>
  99.             <div>
  100.               <h4 class="title"><a id="gimp-palette-activate"></a>3.5.1.¬†
  101.       <span lang="en" xml:lang="en">Activate Dialog</span>
  102.     </h4>
  103.             </div>
  104.           </div>
  105.         </div>
  106.         <p>
  107.       The Palettes dialog is a dockable dialog; see the section on <a class="link" href="gimp-concepts-docks.html" title="2.3.¬† Dialogs and Docking">Dialogs and Docking</a> for help on
  108.       manipulating it.  It can be activated in several ways:
  109.     </p>
  110.         <div class="itemizedlist">
  111.           <ul type="disc">
  112.             <li>
  113.               <p>
  114.           From the Toolbox menu:
  115.           <span class="guimenu">File</span> ‚Üí <span class="guisubmenu">Dialogs</span> ‚Üí <span class="guimenuitem">Pal<span class="accel">e</span>ttes</span>.
  116.         </p>
  117.             </li>
  118.             <li>
  119.               <p>
  120.           From an image menu:
  121.           <span class="guimenu">Dialogs</span> ‚Üí <span class="guimenuitem">Pal<span class="accel">e</span>ttes</span>.
  122.         </p>
  123.             </li>
  124.             <li>
  125.               <p>
  126.           From the Tab menu in any dockable dialog:
  127.           <span class="guimenu">Add Tab</span> ‚Üí <span class="guimenuitem">Pal<span class="accel">e</span>ttes</span>.
  128.         </p>
  129.             </li>
  130.           </ul>
  131.         </div>
  132.       </div>
  133.       <div class="sect3" lang="en" xml:lang="en">
  134.         <div class="titlepage">
  135.           <div>
  136.             <div>
  137.               <h4 class="title"><a id="gimp-palette-dialog-using"></a>3.5.2.¬†
  138.       <span lang="en" xml:lang="en">Using the Palettes dialog</span>
  139.     </h4>
  140.             </div>
  141.           </div>
  142.         </div>
  143.         <p>
  144.       Clicking on a palette in the dialog selects this palette and brings up
  145.       the <a class="link" href="gimp-palette-dialog.html#gimp-palette-editor-dialog" title="3.5.4.¬† Palette Editor">Palette Editor</a>,
  146.       which allows you to set GIMP's foreground or background colors by
  147.       clicking on colors in the palette display. You can also use the
  148.       arrow keys to select a palette.
  149.     </p>
  150.         <p>
  151.       Double-clicking on a palette <span class="emphasis"><em>name</em></span>
  152.       (in List View mode) lets you to edit the name. Note that you are only
  153.       allowed to change the names of palettes that you have added yourself,
  154.       not those that are supplied with GIMP. If you edit a name that you are
  155.       not allowed to change, it will revert back to its previous value as soon
  156.       as you hit return or move the pointer focus elsewhere.
  157.     </p>
  158.         <div class="variablelist">
  159.           <dl>
  160.             <dt>
  161.               <span class="term">Grid/List modes</span>
  162.             </dt>
  163.             <dd>
  164.               <div class="figure">
  165.                 <a id="id2666397"></a>
  166.                 <p class="title">
  167.                   <b>Figure¬†14.45.¬†
  168.               <span lang="en" xml:lang="en">The Palettes dialog</span>
  169.             </b>
  170.                 </p>
  171.                 <div class="figure-contents">
  172.                   <div class="mediaobject">
  173.                     <img src="../images/dialogs/dialogs-palettes-grid.png" alt="The Palettes dialog" />
  174.                     <div class="caption">
  175.                       <p>Grid View</p>
  176.                     </div>
  177.                   </div>
  178.                   <div class="mediaobject">
  179.                     <img src="../images/dialogs/dialogs-palettes.png" alt="The Palettes dialog" />
  180.                     <div class="caption">
  181.                       <p>List View</p>
  182.                     </div>
  183.                   </div>
  184.                 </div>
  185.               </div>
  186.               <br class="figure-break" />
  187.               <p>
  188.             In the Tab menu, you can choose between
  189.             <span class="guimenuitem">View as Grid</span>
  190.             and <span class="guimenuitem">View as List</span>.
  191.             In Grid mode, the palettes are laid out in a spectacular
  192.             rectangular array, making it easy to see many at once and find
  193.             the one you are looking for. In List mode (the default), the
  194.             palettes are lined up in a list, with the names beside them.
  195.           </p>
  196.               <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
  197.                 <table border="0" summary="Tip">
  198.                   <tr>
  199.                     <td rowspan="2" align="center" valign="top" width="25">
  200.                       <img alt="[Tip]" src="../images/tip.png" />
  201.                     </td>
  202.                     <th align="left">Tip</th>
  203.                   </tr>
  204.                   <tr>
  205.                     <td align="left" valign="top">
  206.                       <p>
  207.               In the Tab menu, the option <span class="guilabel">Preview Size</span>
  208.               allows you to adapt the size of color cell previews to your
  209.               liking.
  210.             </p>
  211.                     </td>
  212.                   </tr>
  213.                 </table>
  214.               </div>
  215.             </dd>
  216.             <dt>
  217.               <span class="term">Edit Palette</span>
  218.             </dt>
  219.             <dd>
  220.               <p>
  221.             This button brings up the
  222.             <a class="link" href="gimp-palette-dialog.html#gimp-palette-editor-dialog" title="3.5.4.¬† Palette Editor">Palette Editor</a>.
  223.           </p>
  224.             </dd>
  225.             <dt>
  226.               <a id="palette-new"></a>
  227.               <span class="term">New Palette</span>
  228.             </dt>
  229.             <dd>
  230.               <a id="id2666547" class="indexterm"></a>
  231.               <p>
  232.             See <a class="link" href="gimp-palette-dialog.html#gimp-palette-new">New Palette</a>.
  233.           </p>
  234.             </dd>
  235.             <dt>
  236.               <span class="term">Duplicate Palette</span>
  237.             </dt>
  238.             <dd>
  239.               <a id="id2666588" class="indexterm"></a>
  240.               <p>
  241.             See <a class="link" href="gimp-palette-dialog.html#gimp-palette-duplicate">Duplicate
  242.             Palette</a>.
  243.           </p>
  244.             </dd>
  245.             <dt>
  246.               <span class="term">Delete Palette</span>
  247.             </dt>
  248.             <dd>
  249.               <a id="id2666630" class="indexterm"></a>
  250.               <p>
  251.             See <a class="link" href="gimp-palette-dialog.html#gimp-palette-delete">Delete
  252.             Palette</a>.
  253.           </p>
  254.             </dd>
  255.             <dt>
  256.               <span class="term">Refresh Palettes</span>
  257.             </dt>
  258.             <dd>
  259.               <a id="id2666671" class="indexterm"></a>
  260.               <p>
  261.             See <a class="link" href="gimp-palette-dialog.html#gimp-palette-refresh">Refresh Palettes</a>.
  262.           </p>
  263.             </dd>
  264.           </dl>
  265.         </div>
  266.       </div>
  267.       <div class="sect3" lang="en" xml:lang="en">
  268.         <div class="titlepage">
  269.           <div>
  270.             <div>
  271.               <h4 class="title"><a id="gimp-concepts-palettes-menu"></a>3.5.3.¬†
  272.       <span lang="en" xml:lang="en">The ‚Äú<span class="quote">Palettes</span>‚Äù pop-menu</span>
  273.     </h4>
  274.             </div>
  275.           </div>
  276.         </div>
  277.         <a id="id2666723" class="indexterm"></a>
  278.         <div class="figure">
  279.           <a id="id2666738"></a>
  280.           <p class="title">
  281.             <b>Figure¬†14.46.¬†
  282.         <span lang="en" xml:lang="en">The ‚Äú<span class="quote">Palettes</span>‚Äù pop-menu</span>
  283.       </b>
  284.           </p>
  285.           <div class="figure-contents">
  286.             <div class="mediaobject">
  287.               <img src="../images/dialogs/palettes-popmenu.png" alt="The Palettes pop-menu" />
  288.             </div>
  289.           </div>
  290.         </div>
  291.         <br class="figure-break" />
  292.         <p>
  293.       The ‚Äú<span class="quote">Palettes</span>‚Äù pop-menu can be accessed by right-clicking
  294.       in the Palettes dialog, or by choosing the top item from the dialog Tab
  295.       menu
  296.       (<img src="../images/dialogs/stock-menu-left-12.png" />).
  297.     </p>
  298.         <div class="variablelist">
  299.           <dl>
  300.             <dt>
  301.               <span class="term"><a id="gimp-palette-edit"></a>
  302.           <span lang="en" xml:lang="en">Edit Palette</span>
  303.         </span>
  304.             </dt>
  305.             <dd>
  306.               <p>
  307.             ‚Äú<span class="quote">Edit Palette</span>‚Äù is an alternative way of activating
  308.             the
  309.             <a class="link" href="gimp-palette-dialog.html#gimp-palette-editor-dialog" title="3.5.4.¬† Palette Editor">Palette Editor</a>:
  310.             it can also be activated by double-clicking on a palette in the
  311.             Palettes dialog, or by pressing the "Edit Palette" button at the
  312.             bottom of the dialog.
  313.           </p>
  314.             </dd>
  315.             <dt>
  316.               <span class="term"><a id="gimp-palette-new"></a>
  317.           <span lang="en" xml:lang="en">New Palette</span>
  318.         </span>
  319.             </dt>
  320.             <dd>
  321.               <p>
  322.             ‚Äú<span class="quote">New Palette</span>‚Äù creates a new, untitled palette,
  323.             initially containing no color entries, and pops up the Palette
  324.             Editor so that you can add colors to the palette.  The result
  325.             will automatically be saved in your personal
  326.             <code class="filename">palettes</code> folder when you quit GIMP, so it
  327.             will be available from the Palettes dialog in future sessions.
  328.           </p>
  329.             </dd>
  330.             <dt>
  331.               <span class="term"><a id="gimp-palette-import"></a>
  332.           <span lang="en" xml:lang="en">Import Palette</span>
  333.         </span>
  334.             </dt>
  335.             <dd>
  336.               <a id="id2666886" class="indexterm"></a>
  337.               <div class="figure">
  338.                 <a id="id2666901"></a>
  339.                 <p class="title">
  340.                   <b>Figure¬†14.47.¬†
  341.               <span lang="en" xml:lang="en">The Import Palette dialog</span>
  342.             </b>
  343.                 </p>
  344.                 <div class="figure-contents">
  345.                   <div class="mediaobject">
  346.                     <img src="../images/dialogs/palette-import-dialog.png" alt="The Import Palette dialog" />
  347.                   </div>
  348.                 </div>
  349.               </div>
  350.               <br class="figure-break" />
  351.               <p>
  352.             ‚Äú<span class="quote">Import Palette</span>‚Äù
  353.             allows you to create a new palette from the colors in a gradient,
  354.             an image or a palette file. Choosing it brings up the "Import
  355.             Palette" dialog, which gives you the following options:
  356.           </p>
  357.               <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
  358.                 <table border="0" summary="Note">
  359.                   <tr>
  360.                     <td rowspan="2" align="center" valign="top" width="25">
  361.                       <img alt="[Note]" src="../images/note.png" />
  362.                     </td>
  363.                     <th align="left">Note</th>
  364.                   </tr>
  365.                   <tr>
  366.                     <td align="left" valign="top">
  367.                       <p>
  368.               Former versions of GIMP had a ‚Äú<span class="quote">Save palette</span>‚Äù
  369.               command. It no longer exists. To save the palette of an image,
  370.               indexed or not, you must <span class="emphasis"><em>import</em></span> it in fact
  371.               from the image.
  372.             </p>
  373.                     </td>
  374.                   </tr>
  375.                 </table>
  376.               </div>
  377.               <div class="variablelist">
  378.                 <dl>
  379.                   <dt>
  380.                     <span class="term">Select Source</span>
  381.                   </dt>
  382.                   <dd>
  383.                     <p>
  384.                   You can import a palette either from any of GIMP's
  385.                   gradients (choosing one from the adjoining menu), or from
  386.                   any of the currently open images (chosen from the adjoining
  387.                   menu). Since GIMP 2.2, you can also import a RIFF palette
  388.                   file (with extension <code class="filename">.pal</code>), of the
  389.                   type used by several Microsoft Windows applications.
  390.                 </p>
  391.                     <p>
  392.                   Two new options in GIMP-2.4 concerning image as source,
  393.                   available for RGB images only:
  394.                 </p>
  395.                     <div class="itemizedlist">
  396.                       <ul type="disc">
  397.                         <li>
  398.                           <p>
  399.                       <span class="guilabel">Sample merged</span>: When this option
  400.                       is checked, colors are picked from all visible
  401.                       layers. If unchecked, pixels are picked from the
  402.                       active layer only, even though not visible.
  403.                     </p>
  404.                         </li>
  405.                         <li>
  406.                           <p>
  407.                       <span class="guilabel">Selected pixels only</span>: As the
  408.                       name says, pixels are picked from the selected area
  409.                       only, in the active layer or all visible layers
  410.                       according to the status of the previous option.
  411.                     </p>
  412.                         </li>
  413.                       </ul>
  414.                     </div>
  415.                   </dd>
  416.                   <dt>
  417.                     <span class="term">Palette name</span>
  418.                   </dt>
  419.                   <dd>
  420.                     <p>
  421.                   You can give a name to the new palette here. If the name
  422.                   you choose is already used by an existing palette, a unique
  423.                   name will be formed by appending a number (e. g., "#1").
  424.                 </p>
  425.                   </dd>
  426.                   <dt>
  427.                     <span class="term">Number of colors</span>
  428.                   </dt>
  429.                   <dd>
  430.                     <p>
  431.                   Here you specify the number of colors in the palette. The
  432.                   default is 256, chosen for three reasons: (1) every
  433.                   gradient contains 256 distinct colors; (2) GIF files can
  434.                   use a maximum of 256 colors; (3) GIMP indexed images can
  435.                   contain a maximum of 256 distinct colors. You can use any
  436.                   number you like here, though: GIMP will try to create a
  437.                   palette by spacing the specified number of colors even
  438.                   across the color range of the gradient or image.
  439.                 </p>
  440.                   </dd>
  441.                   <dt>
  442.                     <span class="term">Columns</span>
  443.                   </dt>
  444.                   <dd>
  445.                     <p>
  446.                   Here you specify the number of columns for the palette.
  447.                   This only affects the way the palette is displayed, and has
  448.                   no effect on the way the palette is used.
  449.                 </p>
  450.                   </dd>
  451.                   <dt>
  452.                     <span class="term">Interval</span>
  453.                   </dt>
  454.                   <dd>
  455.                     <p>
  456.                   Even setting ‚Äú<span class="quote">Number of colors</span>‚Äù to maximum, the
  457.                   number of colors can't exceed 10000 in the palette. RGB
  458.                   images have much more colors. <span class="guilabel">Interval</span>
  459.                   should allow to group similar colors around an average and
  460.                   so get a better palette. This problem doesn't exist with 256
  461.                   colors indexed images: Interval to 1 allows picking 256
  462.                   colors (this option is grayed out with more than 256 colors
  463.                   indexed palettes too).
  464.                 </p>
  465.                   </dd>
  466.                 </dl>
  467.               </div>
  468.               <p>
  469.             The imported palette will be added to the Palettes dialog, and
  470.             automatically saved in your personal
  471.             <code class="filename">palettes</code> folder when you
  472.             quit <acronym class="acronym">GIMP</acronym>, so it will be available in future
  473.             sessions.
  474.           </p>
  475.             </dd>
  476.             <dt>
  477.               <span class="term"><a id="gimp-palette-duplicate"></a>
  478.           <span lang="en" xml:lang="en">Duplicate Palette</span>
  479.         </span>
  480.             </dt>
  481.             <dd>
  482.               <p>
  483.             Duplicate Palette creates a new palette by copying the palette
  484.             that is currently selected, and brings up a Palette Editor so that
  485.             you can alter the palette. The result will automatically be saved
  486.             in your personal <code class="filename">palettes</code>
  487.             folder when you quit GIMP, so it will be available from the
  488.             Palettes dialog in future sessions.
  489.           </p>
  490.             </dd>
  491.             <dt>
  492.               <span class="term"><a id="gimp-palette-merge"></a>
  493.           <span lang="en" xml:lang="en">Merge Palettes</span>
  494.         </span>
  495.             </dt>
  496.             <dd>
  497.               <p>
  498.             Currently this operation is not implemented, and the menu entry
  499.             will always be insensitive.
  500.           </p>
  501.             </dd>
  502.             <dt>
  503.               <span class="term"><a id="gimp-palette-location"></a>
  504.           <span lang="en" xml:lang="en">Copy Palette Location</span>
  505.         </span>
  506.             </dt>
  507.             <dd>
  508.               <p>
  509.             This command allows you to copy the palette file location to
  510.             clipboard. You can then paste it in a text editor.
  511.           </p>
  512.             </dd>
  513.             <dt>
  514.               <span class="term"><a id="gimp-palette-delete"></a>
  515.           <span lang="en" xml:lang="en">Delete Palette</span>
  516.         </span>
  517.             </dt>
  518.             <dd>
  519.               <p>
  520.             Delete Palette removes the palette from the Palettes dialog, and
  521.             deletes the disk file in which it is stored. Before it acts, it
  522.             asks you confirm that you really want to do these things. Note
  523.             that you cannot remove any of the palettes that are supplied with
  524.             GIMP, only palettes you have added yourself.
  525.           </p>
  526.             </dd>
  527.             <dt>
  528.               <span class="term"><a id="gimp-palette-refresh"></a>
  529.           <span lang="en" xml:lang="en">Refresh Palettes</span>
  530.         </span>
  531.             </dt>
  532.             <dd>
  533.               <p>
  534.             Refresh Palettes rescans all of the folders in your palette
  535.             search path, and adds any newly discovered palettes to the list
  536.             in the Palettes dialog. This may be useful if you obtain palette
  537.             files from some external source, copy them into one of your
  538.             palettes folders, and want to make them available during the
  539.             current session.
  540.           </p>
  541.             </dd>
  542.             <dt>
  543.               <span class="term"><a id="gimp-palette-offset"></a>
  544.           <span lang="en" xml:lang="en">Offset Palette...</span>
  545.         </span>
  546.             </dt>
  547.             <dd>
  548.               <p>This command opens a dialog window:</p>
  549.               <div class="figure">
  550.                 <a id="id2667357"></a>
  551.                 <p class="title">
  552.                   <b>Figure¬†14.48.¬†
  553.               <span lang="en" xml:lang="en">
  554.                 The ‚Äú<span class="quote">Offset Palette</span>‚Äùdialog
  555.               </span>
  556.             </b>
  557.                 </p>
  558.                 <div class="figure-contents">
  559.                   <div class="mediaobject">
  560.                     <img src="../images/dialogs/palettes-offset-options.png" alt="The Offset Palettedialog" />
  561.                   </div>
  562.                 </div>
  563.               </div>
  564.               <br class="figure-break" />
  565.               <p>
  566.             This command takes the last color of the palette and puts it at
  567.             the first place. The <span class="guilabel">Offset</span> parameter lets
  568.             you set how many times this action must be performed.
  569.           </p>
  570.               <p>
  571.             With negative ‚Äú<span class="quote">Offsets</span>‚Äù colors are put from the first
  572.             position to the end of the colors list.
  573.           </p>
  574.               <div class="figure">
  575.                 <a id="id2667417"></a>
  576.                 <p class="title">
  577.                   <b>Figure¬†14.49.¬†
  578.               <span lang="en" xml:lang="en">
  579.                 ‚Äú<span class="quote">Offset Palette</span>‚Äù examples
  580.               </span>
  581.             </b>
  582.                 </p>
  583.                 <div class="figure-contents">
  584.                   <div class="mediaobject">
  585.                     <img src="../images/dialogs/examples/palettes-offset.png" alt="Offset Palette examples" />
  586.                     <div class="caption">
  587.                       <p>
  588.                   From top to bottom: original palette, Offset = 1, Offset =
  589.                   2.
  590.                 </p>
  591.                     </div>
  592.                   </div>
  593.                 </div>
  594.               </div>
  595.               <br class="figure-break" />
  596.             </dd>
  597.             <dt>
  598.               <span class="term"><a id="gimp-palette-to-gradient"></a>
  599.           <span lang="en" xml:lang="en">Palette to gradient</span>
  600.         </span>
  601.             </dt>
  602.             <dd>
  603.               <a id="id2667480" class="indexterm"></a>
  604.               <p>
  605.             With this command, all the colors of the palette are used to form
  606.             the current gradient which is saved in the Gradient Dialog. The
  607.             number of colors in the palette seems to be limited to 21. Above
  608.             this value, an error message is emitted.
  609.           </p>
  610.             </dd>
  611.             <dt>
  612.               <span class="term"><a id="gimp-palette-to-repeat-gradient"></a>
  613.           <span lang="en" xml:lang="en">Palette to Repeating Gradient</span>
  614.         </span>
  615.             </dt>
  616.             <dd>
  617.               <p>
  618.             This command creates a repeating gradient, using all the colors
  619.             of the palette. Only the first color of the palette seems to be
  620.             repeated. This gradient appears in the Gradient Dialog and
  621.             becomes the current gradient. The number of colors in the palette
  622.             seems to be limited to 20. Above this value, an error message is
  623.             emitted.
  624.           </p>
  625.               <div class="figure">
  626.                 <a id="id2667541"></a>
  627.                 <p class="title">
  628.                   <b>Figure¬†14.50.¬†
  629.               <span lang="en" xml:lang="en">
  630.                 ‚Äú<span class="quote">Palette to repeating gradient</span>‚Äù examples
  631.               </span>
  632.             </b>
  633.                 </p>
  634.                 <div class="figure-contents">
  635.                   <div class="mediaobject">
  636.                     <img src="../images/dialogs/examples/palettes-repeat-gradient.png" alt="Palette to repeating gradient examples" />
  637.                     <div class="caption">
  638.                       <p>
  639.                   Top: palette. Bottom: the gradient created with the
  640.                   command.
  641.                 </p>
  642.                     </div>
  643.                   </div>
  644.                 </div>
  645.               </div>
  646.               <br class="figure-break" />
  647.             </dd>
  648.             <dt>
  649.               <span class="term"><a id="gimp-palette-sort"></a>
  650.           <span lang="en" xml:lang="en">Sort Palette...</span>
  651.         </span>
  652.             </dt>
  653.             <dd>
  654.               <p>
  655.             This command opens a dialog window which allows you to sort the
  656.             colors of the palette according to certain criterions:
  657.           </p>
  658.               <div class="figure">
  659.                 <a id="id2667613"></a>
  660.                 <p class="title">
  661.                   <b>Figure¬†14.51.¬†
  662.               <span lang="en" xml:lang="en">The ‚Äú<span class="quote">Sort Palette</span>‚Äùdialog</span>
  663.             </b>
  664.                 </p>
  665.                 <div class="figure-contents">
  666.                   <div class="mediaobject">
  667.                     <img src="../images/dialogs/palettes-sort.png" alt="The Sort Palettedialog" />
  668.                   </div>
  669.                 </div>
  670.               </div>
  671.               <br class="figure-break" />
  672.               <div class="itemizedlist">
  673.                 <ul type="disc">
  674.                   <li>
  675.                     <p>
  676.                 <span class="guilabel">Color model</span> : you can choose between
  677.                 <span class="emphasis"><em>RGB</em></span> and <span class="emphasis"><em>HSV</em></span>
  678.               </p>
  679.                   </li>
  680.                   <li>
  681.                     <p>
  682.                 <span class="guilabel">Channel to sort</span> : you can choose between
  683.                 the three RGB channels if the RGB model is selected, or the
  684.                 three HSV channels if the HSV channel is selected.
  685.               </p>
  686.                   </li>
  687.                   <li>
  688.                     <p>
  689.                 <span class="guilabel">Ascending</span> (Default is Yes) : values are
  690.                 sorted from the lower to the upper. By clicking on this
  691.                 <span class="guibutton">Yes</span> you can toggle to
  692.                 <span class="guibutton">No</span> and values will be sorted in
  693.                 descending order.
  694.               </p>
  695.                   </li>
  696.                 </ul>
  697.               </div>
  698.             </dd>
  699.           </dl>
  700.         </div>
  701.       </div>
  702.       <div class="sect3" lang="en" xml:lang="en">
  703.         <div class="titlepage">
  704.           <div>
  705.             <div>
  706.               <h4 class="title"><a id="gimp-palette-editor-dialog"></a>3.5.4.¬†
  707.       <span lang="en" xml:lang="en">Palette Editor</span>
  708.     </h4>
  709.             </div>
  710.           </div>
  711.         </div>
  712.         <a id="id2667737" class="indexterm"></a>
  713.         <div class="figure">
  714.           <a id="id2667751"></a>
  715.           <p class="title">
  716.             <b>Figure¬†14.52.¬†
  717.         <span lang="en" xml:lang="en">The Palette Editor</span>
  718.       </b>
  719.           </p>
  720.           <div class="figure-contents">
  721.             <div class="mediaobject">
  722.               <img src="../images/dialogs/palette-editor-dialog.png" alt="The Palette Editor" />
  723.             </div>
  724.           </div>
  725.         </div>
  726.         <br class="figure-break" />
  727.         <p>
  728.       The Palette Editor is used mainly for two purposes: first, for setting
  729.       GIMP's foreground or background colors (as shown in the Color Area of
  730.       the Toolbox) to selected colors from the palette; second, for modifying
  731.       the palette. You can activate the Palette Editor for any palette in the
  732.       Palettes dialog, but you can only modify palettes that you have created
  733.       yourself, not the palettes that are supplied when you install GIMP.
  734.       (You can, however, duplicate any palette and then edit the newly
  735.       created copy.) If you modify a palette, the results of your work will
  736.       automatically be saved when you exit from GIMP.
  737.     </p>
  738.         <div class="sect4" lang="en" xml:lang="en">
  739.           <div class="titlepage">
  740.             <div>
  741.               <div>
  742.                 <h5 class="title"><a id="id2667797"></a>3.5.4.1.¬†
  743.         <span lang="en" xml:lang="en">How to Activate the Palette Editor</span>
  744.       </h5>
  745.               </div>
  746.             </div>
  747.           </div>
  748.           <p>
  749.         The Palette Editor is only accessible from the Palettes dialog: you
  750.         can activate it by double-clicking on a palette, or by pressing the
  751.         "Edit Palette" button at the bottom, or by choosing "Edit Palette"
  752.         from the Palettes Menu.
  753.       </p>
  754.           <p>
  755.         The Palette Editor is a dockable dialog; see the section on
  756.         <a class="link" href="gimp-concepts-docks.html" title="2.3.¬† Dialogs and Docking">Dialogs and Docking</a>
  757.         for help on manipulating it.
  758.       </p>
  759.         </div>
  760.         <div class="sect4" lang="en" xml:lang="en">
  761.           <div class="titlepage">
  762.             <div>
  763.               <div>
  764.                 <h5 class="title"><a id="id2667833"></a>3.5.4.2.¬†
  765.         <span lang="en" xml:lang="en">Using the Palette Editor</span>
  766.       </h5>
  767.               </div>
  768.             </div>
  769.           </div>
  770.           <p>
  771.         If you click on a color box in the palette display, GIMP's foreground
  772.         color will be set to the selected color: you can see this in the
  773.         Color Area of the Toolbox. If you hold down the <span class="keycap"><strong>Ctrl</strong></span>
  774.         key while clicking, GIMP's background color will be set to the
  775.         selected color.
  776.       </p>
  777.           <p>
  778.         If the palette is a custom palette, double-clicking on a color not
  779.         only sets the foreground, it also brings up a color editor that
  780.         allows you to modify the selected palette entry.
  781.       </p>
  782.           <p>
  783.         Right-clicking in the palette display area brings up the Palette
  784.         Editor menu. It's functions are mainly the same as those of the
  785.         buttons at the bottom of the dialog.
  786.       </p>
  787.           <p>
  788.         Below the palette display area, at the left, appears a text entry
  789.         area that shows the name of the selected color (or "Untitled" if it
  790.         does not have one). This information has no functional significance,
  791.         and is present only to serve you as a memory aid.
  792.       </p>
  793.           <p>
  794.         To the right of the name entry is a spinbutton that allows you to set
  795.         the number of columns used to display the palette. This only affects
  796.         the display, not how the palette works. If the value is set to 0, a
  797.         default will be used.
  798.       </p>
  799.           <p>
  800.         At the bottom of the dialog are a set of buttons, which mostly match
  801.         the entries in the Palette Editor menu, accessible by right-clicking
  802.         in the palette display area. Here are the buttons:
  803.       </p>
  804.           <div class="variablelist">
  805.             <dl>
  806.               <dt>
  807.                 <span class="term">Save</span>
  808.               </dt>
  809.               <dd>
  810.                 <p>
  811.               This button causes the palette to be saved in your personal
  812.               <code class="filename">palettes</code> folder.  It would be saved
  813.               automatically when GIMP exits in any case, but you might want
  814.               to use this button if you are concerned that GIMP might crash
  815.               in the meantime.
  816.             </p>
  817.               </dd>
  818.               <dt>
  819.                 <span class="term">Revert</span>
  820.               </dt>
  821.               <dd>
  822.                 <p>
  823.               This operation has not yet been implemented.
  824.             </p>
  825.               </dd>
  826.               <dt>
  827.                 <span class="term">Edit Color</span>
  828.               </dt>
  829.               <dd>
  830.                 <p>
  831.               Pops up a color editor allowing you to alter the color.  If
  832.               the palette is one you aren't allowed to alter, this button
  833.               will be insensitive. See
  834.               <a class="link" href="gimp-palette-dialog.html#gimp-palette-editor-edit">below</a>
  835.             </p>
  836.               </dd>
  837.               <dt>
  838.                 <span class="term">New Color from FG</span>
  839.               </dt>
  840.               <dd>
  841.                 <p>
  842.               See <a class="link" href="gimp-palette-dialog.html#gimp-palette-editor-new">below</a>
  843.             </p>
  844.               </dd>
  845.               <dt>
  846.                 <span class="term">Delete Color</span>
  847.               </dt>
  848.               <dd>
  849.                 <p>
  850.               See <a class="link" href="gimp-palette-dialog.html#gimp-palette-editor-delete">below</a>
  851.             </p>
  852.               </dd>
  853.               <dt>
  854.                 <span class="term">Zoom Out</span>
  855.               </dt>
  856.               <dd>
  857.                 <p>
  858.               See <a class="link" href="gimp-palette-dialog.html#gimp-palette-editor-zoom-out">below</a>
  859.             </p>
  860.               </dd>
  861.               <dt>
  862.                 <span class="term">Zoom In</span>
  863.               </dt>
  864.               <dd>
  865.                 <p>
  866.               See <a class="link" href="gimp-palette-dialog.html#gimp-palette-editor-zoom-in">below</a>
  867.             </p>
  868.               </dd>
  869.               <dt>
  870.                 <span class="term">Zoom All</span>
  871.               </dt>
  872.               <dd>
  873.                 <p>
  874.               See <a class="link" href="gimp-palette-dialog.html#gimp-palette-editor-zoom-all">below</a>
  875.             </p>
  876.               </dd>
  877.             </dl>
  878.           </div>
  879.         </div>
  880.       </div>
  881.       <div class="sect3" lang="en" xml:lang="en">
  882.         <div class="titlepage">
  883.           <div>
  884.             <div>
  885.               <h4 class="title"><a id="gimp-palette-editor-menu"></a>3.5.5.¬†
  886.       <span lang="en" xml:lang="en">The Palette Editor pop-menu</span>
  887.     </h4>
  888.             </div>
  889.           </div>
  890.         </div>
  891.         <div class="figure">
  892.           <a id="id2668135"></a>
  893.           <p class="title">
  894.             <b>Figure¬†14.53.¬†
  895.         <span lang="en" xml:lang="en">The Palette Editor pop-menu</span>
  896.       </b>
  897.           </p>
  898.           <div class="figure-contents">
  899.             <div class="mediaobject">
  900.               <img src="../images/dialogs/palette-editor-context-menu.png" alt="The Palette Editor pop-menu" />
  901.             </div>
  902.           </div>
  903.         </div>
  904.         <br class="figure-break" />
  905.         <p>
  906.       The Palette Editor Menu can be accessed by right-clicking on the
  907.       palette display in the Palette Editor, or by choosing the top entry
  908.       from the dialog Tab menu. The operations in it can also be executed
  909.       using the buttons at the bottom of the Palette Editor dialog.
  910.     </p>
  911.         <div class="variablelist">
  912.           <dl>
  913.             <dt>
  914.               <span class="term"><a id="gimp-palette-editor-edit"></a>
  915.           <span lang="en" xml:lang="en">Edit Color</span>
  916.         </span>
  917.             </dt>
  918.             <dd>
  919.               <p>
  920.             "Edit Color" brings up a color editor that allows you to modify
  921.             the color of the selected palette entry. If the palette is one
  922.             that you are not allowed to edit (that is, one supplied by GIMP
  923.             when it is installed), then the menu entry will be insensitive.
  924.           </p>
  925.             </dd>
  926.             <dt>
  927.               <span class="term"><a id="gimp-palette-editor-new"></a>
  928.           <span lang="en" xml:lang="en">New Color from FG; New Color from BG</span>
  929.         </span>
  930.             </dt>
  931.             <dd>
  932.               <p>
  933.             These commands each create a new palette entry, using either
  934.             GIMP's current foreground color (as shown in the Color Area of
  935.             the Toolbox), or the current background color.
  936.           </p>
  937.             </dd>
  938.             <dt>
  939.               <span class="term"><a id="gimp-palette-editor-delete"></a>
  940.           <span lang="en" xml:lang="en">Delete Color</span>
  941.         </span>
  942.             </dt>
  943.             <dd>
  944.               <p>
  945.             "Delete Color" removes the selected color entry from the palette.
  946.             If the palette is one that you are not allowed to edit, then the
  947.             menu entry will be insensitive.
  948.           </p>
  949.             </dd>
  950.             <dt>
  951.               <span class="term"><a id="gimp-palette-editor-zoom-out"></a>
  952.           <span lang="en" xml:lang="en">Zoom Out</span>
  953.         </span>
  954.             </dt>
  955.             <dd>
  956.               <p>
  957.             "Zoom Out" reduces the vertical scale of the entries in the
  958.             palette display.
  959.           </p>
  960.             </dd>
  961.             <dt>
  962.               <span class="term"><a id="gimp-palette-editor-zoom-in"></a>
  963.           <span lang="en" xml:lang="en">Zoom In</span>
  964.         </span>
  965.             </dt>
  966.             <dd>
  967.               <p>
  968.             "Zoom In" increases the vertical scale of the entries in the
  969.             palette display.
  970.           </p>
  971.             </dd>
  972.             <dt>
  973.               <span class="term"><a id="gimp-palette-editor-zoom-all"></a>
  974.           <span lang="en" xml:lang="en">Zoom All</span>
  975.         </span>
  976.             </dt>
  977.             <dd>
  978.               <p>
  979.             ‚Äú<span class="quote">Zoom All</span>‚Äù adjusts the vertical size of the entries
  980.             in the palette display so that the entire palette fits into the
  981.             display area.
  982.           </p>
  983.             </dd>
  984.             <dt>
  985.               <span class="term"><a id="gimp-palette-editor-active"></a>
  986.           <span lang="en" xml:lang="en">Edit Active Palette</span>
  987.         </span>
  988.             </dt>
  989.             <dd>
  990.               <p>
  991.             When this option is checked (default), you can edit another
  992.             palette by clicking on it in the ‚Äú<span class="quote">Palettes</span>‚Äù dialog.
  993.           </p>
  994.             </dd>
  995.           </dl>
  996.         </div>
  997.       </div>
  998.     </div>
  999.     <div class="navfooter">
  1000.       <hr />
  1001.       <table width="100%" summary="Navigation footer">
  1002.         <tr>
  1003.           <td width="40%" align="left"><a accesskey="p" href="gimp-gradient-dialog.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  1004.           <td width="20%" align="center">
  1005.             <a accesskey="u" href="gimp-dialogs-content.html">
  1006.               <img src="../images/up.png" alt="Up" />
  1007.             </a>
  1008.           </td>
  1009.           <td width="40%" align="right">¬†<a accesskey="n" href="gimp-font-dialog.html"><img src="../images/next.png" alt="Next" /></a></td>
  1010.         </tr>
  1011.         <tr>
  1012.           <td width="40%" align="left" valign="top"><a accesskey="p" href="gimp-gradient-dialog.html">3.4.¬†
  1013.     <span lang="en" xml:lang="en">Gradients Dialog</span>
  1014.   </a>¬†</td>
  1015.           <td width="20%" align="center">
  1016.             <a accesskey="h" href="index.html">
  1017.               <img src="../images/home.png" alt="Home" />
  1018.             </a>
  1019.           </td>
  1020.           <td width="40%" align="right" valign="top">¬†<a accesskey="n" href="gimp-font-dialog.html">3.6.¬†
  1021.     <span lang="en" xml:lang="en">Fonts Dialog</span>
  1022.   </a></td>
  1023.         </tr>
  1024.       </table>
  1025.     </div>
  1026.   </body>
  1027. </html>
  1028.